﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelSoft.HotelManagement_DAO;
using System.Collections;
using System.Data;

namespace HotelSoft.HotelManagement_BUS
{
    class PhieuDangKyBUS:AbstractBUS
    {
        private PhieuDangKyDAO dao = new PhieuDangKyDAO();

        public ArrayList LayDanhSachPhieuDangKy()
        {
            return dao.LayDanhSachPhieuDangKy();
        }
        public DataTable SelectphieudangkytheoSoPDK(object AbstractDTO)
        {
            return PhieuDangKyDAO.SelectphieudangkytheoSoPDK(AbstractDTO);
        }
        public DataTable UpdatephieudangkytheoSoPDK(object AbstractDTO)
        {
            return PhieuDangKyDAO.UpdatephieudangkytheoSoPDK(AbstractDTO);
        }

        public bool UpdateluuSoPDK(object AbstractDTO)
        {
            return PhieuDangKyDAO.UpdateluuSoPDK(AbstractDTO);
        }

        public DataTable SelectAll()
        {
            return PhieuDangKyDAO.SelectAll();
        }
        public override bool Them(object AbstractDTO)
        {
            return dao.Them(AbstractDTO);
        }
        public override bool CapNhatThongTin(object AbstractDTO)
        {
            return dao.CapNhatThongTin(AbstractDTO);
        }
        public override void Xoa(ArrayList dsPhieuDangKy)
        {
            dao.Xoa(dsPhieuDangKy);
        }

        public int LaydulieuSoPDK()
        {
            return PhieuDangKyDAO.LaydulieuSoPDK();
        }

        public bool UpdateNgayThue(object AbstractDTO)
        {
            return dao.UpdateNgayThue(AbstractDTO);
        }

        public DataTable CapNhatThongTindondulieu(object AbstractDTO)
        {
            return PhieuDangKyDAO.CapNhatThongTindondulieu(AbstractDTO);
        }

        public ArrayList getlistPDK_Tracuu(object AbstractDTO)
        {
            return dao.getlistPDK_Tracuu(AbstractDTO);
        }

        public DataTable getInfo_report(object AbstractDTO)
        {
            return dao.getInfo_report(AbstractDTO);
        }
    }
}
